﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using SmartSpace.Core;

namespace SmartSpace.Cwt
{
    public class HopeHealthDbContext : DbContext
    {
        public HopeHealthDbContext()
            :base()
        {
        }

        public HopeHealthDbContext(string connectionString)
            : base(connectionString)
        {
        }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            CoreContext.Build(modelBuilder);
            CwtContext.Build(modelBuilder);


            base.OnModelCreating(modelBuilder);
        }
    }
}
